package com.jbm.onehome.iface.enums;

/**
 * Created by lyh on 2017/8/14.
 *  通道-商家对应关系
 */
public enum WaySeller {
    c (2), //公产房
    z(2) , //公租房
    j(2);//我爱我家


    // 定义私有变量
    private int nCode ;

    // 构造函数，枚举类型只能为私有
    private WaySeller(int _nCode) {
        this.nCode = _nCode;
    }

    @Override
    public String toString() {
        return String.valueOf (  this.nCode);
    }

    public int toValue(){
        return   this.nCode;
    }
}
